home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sounds Terrific 2
/
Sounds Terrific II (1996)(Weird Science)(Disc 1 of 2)[Amiga-PC].iso
/
archives
/
amiga
/
maplay1_2.lha
/
maplay
/
Makefile
< prev
next >
Wrap
Makefile
|
1995-02-26
|
3KB
|
94 lines
#
# @(#) Makefile 1.10, last edit: 6/21/94 11:30:23
# @(#) Copyright (C) 1993, 1994 Tobias Bading (bading@cs.tu-berlin.de)
# @(#) Berlin University of Technology
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#
# Changes from 1.1 to 1.2:
# - dependencies described directly, no more makedepend required
# - all .c source files rename to .cc files
# - strip command included after a successful compilation
# - this makefile is now "Star Trek The Next Generation" compatible!
#
# 19. Feb. 1995 This is a Makefile to compile maplay under AmigaOS
# Erik Johannessen (erik2@afrodite.kih.no)
#
CC = g++
CFLAGS = -DIff -m68000
# debugging: -ggdb -DDEBUG
# profiling: -pg (gprof) or -p (prof)
# strip command has to be removed for debugging or profiling
OBJS = maplay.o ibitstream.o header.o scalefactors.o subband_layer_1.o subband_layer_2.o \
synthesis_filter.o obuffer.o crc.o ulaw.o
.SUFFIXES: .cc
all: maplay
install:
@./configuration.sh
maplay: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) -s -o $@ $(LIBRARIES) -lm
.cc.o:
$(CC) -c $(CFLAGS) $(INCLUDEDIRS) $*.cc -o $@
depend:
makedepend $(INCLUDEDIRS) -w100 *.cc
clean:
-rm -f maplay makedepend_done Makefile.bak
-rm -f *.o
tags:
-rm -f TAGS
etags *.cc *.h Makefile configuration.sh
it:
@echo >/dev/null
so:
@echo I\'ll do my very best, Captain.
@make install
@echo Further orders, Sir\?
crc.o: all.h crc.h
header.o: all.h crc.h header.h ibitstream.h
ibitstream.o: all.h ibitstream.h
maplay.o: all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h \
scalefactors.h subband.h subband_layer_1.h subband_layer_2.h \
synthesis_filter.h ulaw.h
scalefactors.o: all.h scalefactors.h
ulaw.o: all.h ulaw.h
obuffer.o: all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h ulaw.h
subband_layer_1.o: all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h \
scalefactors.h subband.h subband_layer_1.h synthesis_filter.h ulaw.h
subband_layer_2.o: all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h \
scalefactors.h subband.h subband_layer_2.h synthesis_filter.h ulaw.h
synthesis_filter.o: all.h audio_includes.h crc.h header.h ibitstream.h obuffer.h \
synthesis_filter.h ulaw.h
# DO NOT DELETE THIS LINE -- make depend depends on it.